package com.xuecheng.content.service;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Date:2023/7/6
 * Author:丐版小杨哥
 * Description:
 */
@Data
public class StudentOrTeacher {
    Integer id;//1表示学生，2表示老师,我要把学生放到老师的Students集合中
    String name;
    List<StudentOrTeacher> Students=new ArrayList<>();

    public StudentOrTeacher(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
